home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19950929-19951130
/
000339_news@columbia.edu_Mon Nov 6 15:51:08 1995.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA01910
(5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Mon, 6 Nov 1995 10:51:18 -0500
Received: by apakabar.cc.columbia.edu id AA03266
(5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Mon, 6 Nov 1995 10:51:15 -0500
Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: control string from host
Date: 6 Nov 1995 15:51:08 GMT
Organization: Columbia University
Lines: 18
Message-Id: <47latc$35r@apakabar.cc.columbia.edu>
References: <47h6mb$pg8@tst.hk.super.net>
Nntp-Posting-Host: watsun.cc.columbia.edu
Apparently-To: kermit.misc@watsun.cc.columbia.edu
In article <47h6mb$pg8@tst.hk.super.net>,
Mr Patrick ShuPui Tam <patrickt@news.hk.super.net> wrote:
>Is there any means to have Kermit to recognize a control string that sent
>from the host and then execute a dos batch ? In particular, the host run
>a cash receipt program, then send out a control string. After kermit
>capture this control string, it execute a small DOS batch program which
>open the cash drawer.
>
Yes, there are numerous ways to do this. If Kermit is in CONNECT mode you
can use the APC mechanism, documented in the KERMIT.UPD file on your
MS-DOS Kermit diskette, or you can use the PRODUCT macro, which is documented
in the manual, "Using MS-DOS Kermit".
But since automated procedures like this are rarely in CONNECT mode, the
real way to do it with a script program. The method for writing script
programs is documented in detail in the manual.
- Frank